package com.zmytest.service;

import com.zmytest.dto.ResponseDto;
import com.zmytest.dto.RoleDto;
import com.zmytest.model.Role;

/**
 * Created on 2018/12/19.
 *
 * @author zhangmingyu
 */
public interface RoleService {

    ResponseDto<Role> create(RoleDto roleDto);

    ResponseDto<Role> find(Long id);

    ResponseDto<Role> update(RoleDto roleDto);

    ResponseDto<String> delete(Long id);
}
